.class public Lrexsee/location/RexseeMapAbc;
.super Ljava/lang/Object;
.source "RexseeMapAbc.java"

# interfaces
.implements Lrexsee/core/browser/clazz/JavascriptInterface;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lrexsee/location/RexseeMapAbc$MapDialog;,
        Lrexsee/location/RexseeMapAbc$MyLocation;,
        Lrexsee/location/RexseeMapAbc$MyPoiOverlay;
    }
.end annotation


# static fields
.field public static final EVENT_MAPABC_DISMISSED:Ljava/lang/String; = "onMapAbcDismissed"

.field public static final EVENT_MAP_CLICKED:Ljava/lang/String; = "onMapClicked"

.field public static final EVENT_POI_CLICKED:Ljava/lang/String; = "onPoiClicked"

.field public static final EVENT_POI_READY:Ljava/lang/String; = "onPoiReady"

.field public static final EVENT_ROUTE_READY:Ljava/lang/String; = "onRouteReady"

.field private static final INTERFACE_NAME:Ljava/lang/String; = "MapAbc"


# instance fields
.field private mApiKey:Ljava/lang/String;

.field private final mBrowser:Lrexsee/core/browser/Browser;

.field private final mContext:Landroid/content/Context;

.field private final mCustomizedPoi:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/mapabc/mapapi/PoiItem;",
            ">;"
        }
    .end annotation
.end field

.field private mCustomizedPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

.field private mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

.field private mEnableCustomizedPoiClickEvent:Z

.field private mEnablePoiClickEvent:Z

.field private mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

.field private mPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

.field private mRequestedPoi:Lcom/mapabc/mapapi/PoiPagedResult;

.field private final mRequestedRoute:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap",
            "<",
            "Ljava/lang/String;",
            "Ljava/util/List",
            "<",
            "Lcom/mapabc/mapapi/Route;",
            ">;>;"
        }
    .end annotation
.end field

.field private mRouteOverlay:Lcom/mapabc/mapapi/RouteOverlay;


# direct methods
.method public constructor <init>(Lrexsee/core/browser/Browser;)V
    .locals 6
    .param p1, "browser"    # Lrexsee/core/browser/Browser;

    .prologue
    const/4 v3, 0x0

    const/4 v5, 0x0

    .line 84
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 72
    new-instance v2, Ljava/util/HashMap;

    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    iput-object v2, p0, Lrexsee/location/RexseeMapAbc;->mRequestedRoute:Ljava/util/HashMap;

    .line 73
    iput-object v5, p0, Lrexsee/location/RexseeMapAbc;->mRouteOverlay:Lcom/mapabc/mapapi/RouteOverlay;

    .line 75
    iput-object v5, p0, Lrexsee/location/RexseeMapAbc;->mPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    .line 76
    iput-object v5, p0, Lrexsee/location/RexseeMapAbc;->mRequestedPoi:Lcom/mapabc/mapapi/PoiPagedResult;

    .line 77
    iput-boolean v3, p0, Lrexsee/location/RexseeMapAbc;->mEnablePoiClickEvent:Z

    .line 79
    iput-object v5, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    .line 80
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    iput-object v2, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    .line 81
    iput-boolean v3, p0, Lrexsee/location/RexseeMapAbc;->mEnableCustomizedPoiClickEvent:Z

    .line 85
    invoke-virtual {p1}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v2

    iput-object v2, p0, Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;

    .line 86
    iput-object p1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    .line 87
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onMapClicked"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 88
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onRouteReady"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 89
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onPoiReady"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 90
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onPoiClicked"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 91
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onMapAbcDismissed"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 93
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;

    invoke-virtual {v2}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    .line 94
    .local v1, "r":Landroid/content/res/Resources;
    const-string v2, "MapAbcApiKey"

    const-string v3, "string"

    iget-object v4, p0, Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;

    invoke-virtual {v4}, Landroid/content/Context;->getPackageName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v1, v2, v3, v4}, Landroid/content/res/Resources;->getIdentifier(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I

    move-result v0

    .line 95
    .local v0, "id":I
    if-nez v0, :cond_0

    move-object v2, v5

    :goto_0
    iput-object v2, p0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    .line 97
    return-void

    .line 95
    :cond_0
    invoke-virtual {v1, v0}, Landroid/content/res/Resources;->getString(I)Ljava/lang/String;

    move-result-object v2

    goto :goto_0
.end method

.method private _getPoi(Lcom/mapabc/mapapi/PoiSearch$Query;Lcom/mapabc/mapapi/PoiSearch$SearchBound;)V
    .locals 1
    .param p1, "query"    # Lcom/mapabc/mapapi/PoiSearch$Query;
    .param p2, "bound"    # Lcom/mapabc/mapapi/PoiSearch$SearchBound;

    .prologue
    .line 220
    new-instance v0, Lrexsee/location/RexseeMapAbc$1;

    invoke-direct {v0, p0, p1, p2}, Lrexsee/location/RexseeMapAbc$1;-><init>(Lrexsee/location/RexseeMapAbc;Lcom/mapabc/mapapi/PoiSearch$Query;Lcom/mapabc/mapapi/PoiSearch$SearchBound;)V

    .line 232
    invoke-virtual {v0}, Lrexsee/location/RexseeMapAbc$1;->start()V

    .line 233
    return-void
.end method

.method private static _getRouteMode(Ljava/lang/String;)I
    .locals 2
    .param p0, "mode"    # Ljava/lang/String;

    .prologue
    const/4 v1, 0x0

    .line 100
    const-string v0, "BusDefault"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    move v0, v1

    .line 110
    :goto_0
    return v0

    .line 101
    :cond_0
    const-string v0, "BusLeaseChange"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const/4 v0, 0x2

    goto :goto_0

    .line 102
    :cond_1
    const-string v0, "BusLeaseWalk"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v0, 0x3

    goto :goto_0

    .line 103
    :cond_2
    const-string v0, "BusMostComfortable"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_3

    const/4 v0, 0x4

    goto :goto_0

    .line 104
    :cond_3
    const-string v0, "BusSaveMoney"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    const/4 v0, 0x1

    goto :goto_0

    .line 105
    :cond_4
    const-string v0, "DrivingDefault"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_5

    const/16 v0, 0xa

    goto :goto_0

    .line 106
    :cond_5
    const-string v0, "DrivingLeastDistance"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_6

    const/16 v0, 0xc

    goto :goto_0

    .line 107
    :cond_6
    const-string v0, "DrivingNoFastRoad"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_7

    const/16 v0, 0xd

    goto :goto_0

    .line 108
    :cond_7
    const-string v0, "DrivingSaveMoney"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_8

    const/16 v0, 0xb

    goto :goto_0

    .line 109
    :cond_8
    const-string v0, "WalkDefault"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_9

    const/16 v0, 0x17

    goto :goto_0

    :cond_9
    move v0, v1

    .line 110
    goto :goto_0
.end method

.method private static _getRouteMode(I)Ljava/lang/String;
    .locals 2
    .param p0, "mode"    # I

    .prologue
    const-string v1, "BusDefault"

    .line 113
    sparse-switch p0, :sswitch_data_0

    .line 133
    const-string v0, "BusDefault"

    move-object v0, v1

    :goto_0
    return-object v0

    .line 115
    :sswitch_0
    const-string v0, "BusDefault"

    move-object v0, v1

    goto :goto_0

    .line 117
    :sswitch_1
    const-string v0, "BusLeaseWalk"

    goto :goto_0

    .line 119
    :sswitch_2
    const-string v0, "BusMostComfortable"

    goto :goto_0

    .line 121
    :sswitch_3
    const-string v0, "BusSaveMoney"

    goto :goto_0

    .line 123
    :sswitch_4
    const-string v0, "DrivingDefault"

    goto :goto_0

    .line 125
    :sswitch_5
    const-string v0, "DrivingLeastDistance"

    goto :goto_0

    .line 127
    :sswitch_6
    const-string v0, "DrivingNoFastRoad"

    goto :goto_0

    .line 129
    :sswitch_7
    const-string v0, "DrivingSaveMoney"

    goto :goto_0

    .line 131
    :sswitch_8
    const-string v0, "WalkDefault"

    goto :goto_0

    .line 113
    nop

    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_3
        0x3 -> :sswitch_1
        0x4 -> :sswitch_2
        0xa -> :sswitch_4
        0xb -> :sswitch_7
        0xc -> :sswitch_5
        0xd -> :sswitch_6
        0x17 -> :sswitch_8
    .end sparse-switch
.end method

.method private static _poiItem2Json(Lcom/mapabc/mapapi/PoiItem;)Ljava/lang/String;
    .locals 5
    .param p0, "item"    # Lcom/mapabc/mapapi/PoiItem;

    .prologue
    const v4, 0x49742400    # 1000000.0f

    const-string v3, "\""

    .line 193
    if-nez p0, :cond_0

    const-string v1, "{}"

    .line 205
    :goto_0
    return-object v1

    .line 194
    :cond_0
    const-string v0, ""

    .line 195
    .local v0, "rtn":Ljava/lang/String;
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, "\"poiId\":\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->getPoiId()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 196
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ",\"title\":\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->getTitle()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 197
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ",\"snippet\":\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->getSnippet()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 198
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ",\"adCode\":\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->getAdCode()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 199
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ",\"tel\":\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->getTel()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 200
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ",\"typeCode\":\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->getTypeCode()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 201
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ",\"typeDes\":\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->getTypeDes()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 202
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ",\"longitude\":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->getPoint()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v2

    invoke-virtual {v2}, Lcom/mapabc/mapapi/GeoPoint;->getLongitudeE6()I

    move-result v2

    int-to-float v2, v2

    div-float/2addr v2, v4

    invoke-static {v2}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 203
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ",\"latitude\":"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->getPoint()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v2

    invoke-virtual {v2}, Lcom/mapabc/mapapi/GeoPoint;->getLatitudeE6()I

    move-result v2

    int-to-float v2, v2

    div-float/2addr v2, v4

    invoke-static {v2}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 204
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ",\"routableAddress\":\""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {p0}, Lcom/mapabc/mapapi/PoiItem;->routableAddress()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\""

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 205
    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "{"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "}"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto/16 :goto_0
.end method

.method private static _poiItems2Json(Ljava/util/List;)Ljava/lang/String;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/mapabc/mapapi/PoiItem;",
            ">;)",
            "Ljava/lang/String;"
        }
    .end annotation

    .prologue
    .line 208
    .local p0, "items":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/PoiItem;>;"
    if-nez p0, :cond_0

    const-string v3, "[]"

    .line 216
    :goto_0
    return-object v3

    .line 209
    :cond_0
    const-string v2, ""

    .line 210
    .local v2, "rtn":Ljava/lang/String;
    invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    .line 211
    .local v1, "iterator":Ljava/util/Iterator;, "Ljava/util/Iterator<Lcom/mapabc/mapapi/PoiItem;>;"
    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-nez v3, :cond_1

    .line 216
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "["

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "]"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 212
    :cond_1
    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ","

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 213
    :cond_2
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/mapabc/mapapi/PoiItem;

    .line 214
    .local v0, "item":Lcom/mapabc/mapapi/PoiItem;
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {v0}, Lrexsee/location/RexseeMapAbc;->_poiItem2Json(Lcom/mapabc/mapapi/PoiItem;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_1
.end method

.method private static _route2Json(Lcom/mapabc/mapapi/Route;)Ljava/lang/String;
    .locals 7
    .param p0, "r"    # Lcom/mapabc/mapapi/Route;

    .prologue
    const v5, 0x49742400    # 1000000.0f

    const-string v6, "\""

    .line 161
    if-nez p0, :cond_0

    const-string v3, "[]"

    .line 179
    :goto_0
    return-object v3

    .line 162
    :cond_0
    const-string v1, ""

    .line 163
    .local v1, "rtn":Ljava/lang/String;
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\"mode\":\""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getMode()I

    move-result v4

    invoke-static {v4}, Lrexsee/location/RexseeMapAbc;->_getRouteMode(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\""

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 164
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"overview\":\""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getOverview()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\""

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 165
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"length\":"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getLength()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 166
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"stepCount\":"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getStepCount()I

    move-result v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 167
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"startPlace\":\""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getStartPlace()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\""

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 168
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"startLatitude\":"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getStartPos()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v4

    invoke-virtual {v4}, Lcom/mapabc/mapapi/GeoPoint;->getLatitudeE6()I

    move-result v4

    int-to-float v4, v4

    div-float/2addr v4, v5

    invoke-static {v4}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 169
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"startLongitude\":"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getStartPos()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v4

    invoke-virtual {v4}, Lcom/mapabc/mapapi/GeoPoint;->getLongitudeE6()I

    move-result v4

    int-to-float v4, v4

    div-float/2addr v4, v5

    invoke-static {v4}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 170
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"targetPlace\":\""

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getTargetPlace()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "\""

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 171
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"targetLatitude\":"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getTargetPos()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v4

    invoke-virtual {v4}, Lcom/mapabc/mapapi/GeoPoint;->getLatitudeE6()I

    move-result v4

    int-to-float v4, v4

    div-float/2addr v4, v5

    invoke-static {v4}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 172
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"targetLongitude\":"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getTargetPos()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v4

    invoke-virtual {v4}, Lcom/mapabc/mapapi/GeoPoint;->getLongitudeE6()I

    move-result v4

    int-to-float v4, v4

    div-float/2addr v4, v5

    invoke-static {v4}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 173
    const-string v2, ""

    .line 174
    .local v2, "segments":Ljava/lang/String;
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_1
    invoke-virtual {p0}, Lcom/mapabc/mapapi/Route;->getStepCount()I

    move-result v3

    if-lt v0, v3, :cond_1

    .line 178
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"segments\":["

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "]"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 179
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "{"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "}"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto/16 :goto_0

    .line 175
    :cond_1
    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ","

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 176
    :cond_2
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0, v0}, Lcom/mapabc/mapapi/Route;->getStep(I)Lcom/mapabc/mapapi/Segment;

    move-result-object v4

    invoke-virtual {p0, v0}, Lcom/mapabc/mapapi/Route;->getStepedDescription(I)Ljava/lang/String;

    move-result-object v5

    invoke-static {v4, v5}, Lrexsee/location/RexseeMapAbc;->_segment2Json(Lcom/mapabc/mapapi/Segment;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 174
    add-int/lit8 v0, v0, 0x1

    goto :goto_1
.end method

.method private static _routes2Json(Ljava/util/List;)Ljava/lang/String;
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/mapabc/mapapi/Route;",
            ">;)",
            "Ljava/lang/String;"
        }
    .end annotation

    .prologue
    .line 182
    .local p0, "routes":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/Route;>;"
    if-nez p0, :cond_0

    const-string v3, "[]"

    .line 190
    :goto_0
    return-object v3

    .line 183
    :cond_0
    const-string v2, ""

    .line 184
    .local v2, "rtn":Ljava/lang/String;
    invoke-interface {p0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v0

    .line 185
    .local v0, "iterator":Ljava/util/Iterator;, "Ljava/util/Iterator<Lcom/mapabc/mapapi/Route;>;"
    :goto_1
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-nez v3, :cond_1

    .line 190
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "["

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "]"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    goto :goto_0

    .line 186
    :cond_1
    const-string v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-nez v3, :cond_2

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ","

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 187
    :cond_2
    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/mapabc/mapapi/Route;

    .line 188
    .local v1, "r":Lcom/mapabc/mapapi/Route;
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-static {v1}, Lrexsee/location/RexseeMapAbc;->_route2Json(Lcom/mapabc/mapapi/Route;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    goto :goto_1
.end method

.method private static _segment2Json(Lcom/mapabc/mapapi/Segment;Ljava/lang/String;)Ljava/lang/String;
    .locals 6
    .param p0, "s"    # Lcom/mapabc/mapapi/Segment;
    .param p1, "description"    # Ljava/lang/String;

    .prologue
    const v5, 0x49742400    # 1000000.0f

    const-string v4, "\""

    .line 137
    const-string v1, ""

    .line 138
    .local v1, "segments":Ljava/lang/String;
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, "\"length\":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Segment;->getLength()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 139
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"description\":\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 140
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"startLatitude\":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Segment;->getFirstPoint()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v3

    invoke-virtual {v3}, Lcom/mapabc/mapapi/GeoPoint;->getLatitudeE6()I

    move-result v3

    int-to-float v3, v3

    div-float/2addr v3, v5

    invoke-static {v3}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 141
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"startLongitude\":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Segment;->getFirstPoint()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v3

    invoke-virtual {v3}, Lcom/mapabc/mapapi/GeoPoint;->getLongitudeE6()I

    move-result v3

    int-to-float v3, v3

    div-float/2addr v3, v5

    invoke-static {v3}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 142
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"targetLatitude\":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Segment;->getLastPoint()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v3

    invoke-virtual {v3}, Lcom/mapabc/mapapi/GeoPoint;->getLatitudeE6()I

    move-result v3

    int-to-float v3, v3

    div-float/2addr v3, v5

    invoke-static {v3}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 143
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"targetLongitude\":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {p0}, Lcom/mapabc/mapapi/Segment;->getLastPoint()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v3

    invoke-virtual {v3}, Lcom/mapabc/mapapi/GeoPoint;->getLongitudeE6()I

    move-result v3

    int-to-float v3, v3

    div-float/2addr v3, v5

    invoke-static {v3}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 144
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v2

    const-class v3, Lcom/mapabc/mapapi/BusSegment;

    invoke-virtual {v3}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 145
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"stopNumber\":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    move-object v0, p0

    check-cast v0, Lcom/mapabc/mapapi/BusSegment;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/mapabc/mapapi/BusSegment;->getStopNumber()I

    move-result v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 146
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"line\":\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    move-object v0, p0

    check-cast v0, Lcom/mapabc/mapapi/BusSegment;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/mapabc/mapapi/BusSegment;->getLineName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 147
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"firstStationName\":\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    move-object v0, p0

    check-cast v0, Lcom/mapabc/mapapi/BusSegment;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/mapabc/mapapi/BusSegment;->getFirstStationName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 148
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"lastStationName\":\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    move-object v0, p0

    check-cast v0, Lcom/mapabc/mapapi/BusSegment;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/mapabc/mapapi/BusSegment;->getLastStationName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 149
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"onStationName\":\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    move-object v0, p0

    check-cast v0, Lcom/mapabc/mapapi/BusSegment;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/mapabc/mapapi/BusSegment;->getOnStationName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 150
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"offStationName\":\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    move-object v0, p0

    check-cast v0, Lcom/mapabc/mapapi/BusSegment;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/mapabc/mapapi/BusSegment;->getOffStationName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 152
    :cond_0
    invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v2

    const-class v3, Lcom/mapabc/mapapi/DriveWalkSegment;

    invoke-virtual {v3}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 153
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"actionCode\":"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    move-object v0, p0

    check-cast v0, Lcom/mapabc/mapapi/DriveWalkSegment;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/mapabc/mapapi/DriveWalkSegment;->getActionCode()I

    move-result v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 154
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"actionDescription\":\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    move-object v0, p0

    check-cast v0, Lcom/mapabc/mapapi/DriveWalkSegment;

    move-object v2, v0

    invoke-virtual {v2}, Lcom/mapabc/mapapi/DriveWalkSegment;->getActionDescription()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 155
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v3, ",\"roadName\":\""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    check-cast p0, Lcom/mapabc/mapapi/DriveWalkSegment;

    .end local p0    # "s":Lcom/mapabc/mapapi/Segment;
    invoke-virtual {p0}, Lcom/mapabc/mapapi/DriveWalkSegment;->getRoadName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "\""

    invoke-virtual {v2, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 157
    :cond_1
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "{"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "}"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    return-object v2
.end method

.method private _strToLatitude(Ljava/lang/String;)I
    .locals 4
    .param p1, "string"    # Ljava/lang/String;

    .prologue
    .line 240
    const-wide v2, 0x4043fa3f3e0370ceL    # 39.955055

    invoke-static {p1, v2, v3}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v0

    .line 241
    .local v0, "rtn":D
    const-wide v2, 0x412e848000000000L    # 1000000.0

    mul-double/2addr v2, v0

    double-to-int v2, v2

    return v2
.end method

.method private _strToLongitude(Ljava/lang/String;)I
    .locals 4
    .param p1, "string"    # Ljava/lang/String;

    .prologue
    .line 236
    const-wide v2, 0x405d1c4302b40f67L    # 116.44159

    invoke-static {p1, v2, v3}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v0

    .line 237
    .local v0, "rtn":D
    const-wide v2, 0x412e848000000000L    # 1000000.0

    mul-double/2addr v2, v0

    double-to-int v2, v2

    return v2
.end method

.method static synthetic access$0(Lcom/mapabc/mapapi/PoiItem;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 192
    invoke-static {p0}, Lrexsee/location/RexseeMapAbc;->_poiItem2Json(Lcom/mapabc/mapapi/PoiItem;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$1(Lrexsee/location/RexseeMapAbc;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 64
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$2(Lrexsee/location/RexseeMapAbc;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 68
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$3(Lrexsee/location/RexseeMapAbc;Lcom/mapabc/mapapi/PoiPagedResult;)V
    .locals 0

    .prologue
    .line 76
    iput-object p1, p0, Lrexsee/location/RexseeMapAbc;->mRequestedPoi:Lcom/mapabc/mapapi/PoiPagedResult;

    return-void
.end method

.method static synthetic access$4(Lrexsee/location/RexseeMapAbc;)Lrexsee/core/browser/Browser;
    .locals 1

    .prologue
    .line 65
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    return-object v0
.end method

.method static synthetic access$5(Lrexsee/location/RexseeMapAbc;Ljava/lang/String;)I
    .locals 1

    .prologue
    .line 239
    invoke-direct {p0, p1}, Lrexsee/location/RexseeMapAbc;->_strToLatitude(Ljava/lang/String;)I

    move-result v0

    return v0
.end method

.method static synthetic access$6(Lrexsee/location/RexseeMapAbc;Ljava/lang/String;)I
    .locals 1

    .prologue
    .line 235
    invoke-direct {p0, p1}, Lrexsee/location/RexseeMapAbc;->_strToLongitude(Ljava/lang/String;)I

    move-result v0

    return v0
.end method

.method static synthetic access$7(Ljava/lang/String;)I
    .locals 1

    .prologue
    .line 99
    invoke-static {p0}, Lrexsee/location/RexseeMapAbc;->_getRouteMode(Ljava/lang/String;)I

    move-result v0

    return v0
.end method

.method static synthetic access$8(Lrexsee/location/RexseeMapAbc;)Ljava/util/HashMap;
    .locals 1

    .prologue
    .line 72
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mRequestedRoute:Ljava/util/HashMap;

    return-object v0
.end method


# virtual methods
.method public addCustomizedPoi(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;II)Z
    .locals 11
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "title"    # Ljava/lang/String;
    .param p3, "snippet"    # Ljava/lang/String;
    .param p4, "adCode"    # Ljava/lang/String;
    .param p5, "tel"    # Ljava/lang/String;
    .param p6, "typeCode"    # Ljava/lang/String;
    .param p7, "typeDes"    # Ljava/lang/String;
    .param p8, "longitude"    # Ljava/lang/String;
    .param p9, "latitude"    # Ljava/lang/String;
    .param p10, "icon"    # Ljava/lang/String;
    .param p11, "iconWidth"    # I
    .param p12, "iconHeight"    # I

    .prologue
    .line 663
    :try_start_0
    new-instance v6, Lcom/mapabc/mapapi/GeoPoint;

    move-object v0, p0

    move-object/from16 v1, p9

    invoke-direct {v0, v1}, Lrexsee/location/RexseeMapAbc;->_strToLatitude(Ljava/lang/String;)I

    move-result v9

    move-object v0, p0

    move-object/from16 v1, p8

    invoke-direct {v0, v1}, Lrexsee/location/RexseeMapAbc;->_strToLongitude(Ljava/lang/String;)I

    move-result v10

    invoke-direct {v6, v9, v10}, Lcom/mapabc/mapapi/GeoPoint;-><init>(II)V

    .line 664
    .local v6, "geoPoint":Lcom/mapabc/mapapi/GeoPoint;
    new-instance v8, Lcom/mapabc/mapapi/PoiItem;

    invoke-direct {v8, p1, v6, p2, p3}, Lcom/mapabc/mapapi/PoiItem;-><init>(Ljava/lang/String;Lcom/mapabc/mapapi/GeoPoint;Ljava/lang/String;Ljava/lang/String;)V

    .line 665
    .local v8, "item":Lcom/mapabc/mapapi/PoiItem;
    invoke-virtual {p4}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_2

    move-object v9, p4

    :goto_0
    invoke-virtual {v8, v9}, Lcom/mapabc/mapapi/PoiItem;->setAdCode(Ljava/lang/String;)V

    .line 666
    invoke-virtual/range {p5 .. p5}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_3

    move-object/from16 v9, p5

    :goto_1
    invoke-virtual {v8, v9}, Lcom/mapabc/mapapi/PoiItem;->setTel(Ljava/lang/String;)V

    .line 667
    invoke-virtual/range {p6 .. p6}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_4

    move-object/from16 v9, p6

    :goto_2
    invoke-virtual {v8, v9}, Lcom/mapabc/mapapi/PoiItem;->setTypeCode(Ljava/lang/String;)V

    .line 668
    invoke-virtual/range {p7 .. p7}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_5

    move-object/from16 v9, p7

    :goto_3
    invoke-virtual {v8, v9}, Lcom/mapabc/mapapi/PoiItem;->setTypeDes(Ljava/lang/String;)V

    .line 669
    invoke-virtual/range {p10 .. p10}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v9

    const-string v10, ""

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_1

    .line 670
    iget-object v9, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    move-object v0, v9

    move-object/from16 v1, p10

    invoke-static {v0, v1}, Lrexsee/core/style/RexseeDrawable;->getDrawable(Lrexsee/core/browser/Browser;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v7

    .line 671
    .local v7, "iconDrawable":Landroid/graphics/drawable/Drawable;
    if-lez p11, :cond_0

    if-lez p12, :cond_0

    const/4 v9, 0x0

    const/4 v10, 0x0

    move-object v0, v7

    move v1, v9

    move v2, v10

    move/from16 v3, p11

    move/from16 v4, p12

    invoke-virtual {v0, v1, v2, v3, v4}, Landroid/graphics/drawable/Drawable;->setBounds(IIII)V

    .line 672
    :cond_0
    invoke-virtual {v8, v7}, Lcom/mapabc/mapapi/PoiItem;->setMarker(Landroid/graphics/drawable/Drawable;)V

    .line 674
    .end local v7    # "iconDrawable":Landroid/graphics/drawable/Drawable;
    :cond_1
    iget-object v9, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    invoke-virtual {v9, v8}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 675
    const/4 v9, 0x1

    .line 678
    .end local v6    # "geoPoint":Lcom/mapabc/mapapi/GeoPoint;
    .end local v8    # "item":Lcom/mapabc/mapapi/PoiItem;
    :goto_4
    return v9

    .line 665
    .restart local v6    # "geoPoint":Lcom/mapabc/mapapi/GeoPoint;
    .restart local v8    # "item":Lcom/mapabc/mapapi/PoiItem;
    :cond_2
    const-string v9, "unknown"

    goto :goto_0

    .line 666
    :cond_3
    const-string v9, "unknown"

    goto :goto_1

    .line 667
    :cond_4
    const-string v9, "unknown"

    goto :goto_2

    .line 668
    :cond_5
    const-string v9, "unknown"
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_3

    .line 676
    .end local v6    # "geoPoint":Lcom/mapabc/mapapi/GeoPoint;
    .end local v8    # "item":Lcom/mapabc/mapapi/PoiItem;
    :catch_0
    move-exception v9

    move-object v5, v9

    .line 677
    .local v5, "e":Ljava/lang/Exception;
    iget-object v9, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v9, v10, v5}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    .line 678
    const/4 v9, 0x0

    goto :goto_4
.end method

.method public clearCustomizedPoi()V
    .locals 1

    .prologue
    .line 692
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    .line 693
    return-void
.end method

.method public dismiss()V
    .locals 2

    .prologue
    .line 318
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v0, :cond_1

    .line 348
    :cond_0
    :goto_0
    return-void

    .line 319
    :cond_1
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    if-eqz v0, :cond_2

    .line 321
    :try_start_0
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-eqz v0, :cond_0

    .line 322
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    invoke-virtual {v0}, Lcom/mapabc/mapapi/MyLocationOverlay;->disableCompass()V

    .line 323
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    invoke-virtual {v0}, Lcom/mapabc/mapapi/MyLocationOverlay;->disableMyLocation()V

    .line 324
    const/4 v0, 0x0

    iput-object v0, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_3

    .line 328
    :cond_2
    :goto_1
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v0, v0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapController:Lcom/mapabc/mapapi/MapController;

    if-eqz v0, :cond_3

    .line 330
    :try_start_1
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    const/4 v1, 0x0

    iput-object v1, v0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapController:Lcom/mapabc/mapapi/MapController;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_2

    .line 334
    :cond_3
    :goto_2
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v0, v0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    if-eqz v0, :cond_4

    .line 336
    :try_start_2
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v0, v0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v0}, Lcom/mapabc/mapapi/MapView;->getOverlays()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->clear()V

    .line 337
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v0, v0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v0}, Lcom/mapabc/mapapi/MapView;->closeMapview()V

    .line 338
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    const/4 v1, 0x0

    iput-object v1, v0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    .line 343
    :cond_4
    :goto_3
    :try_start_3
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    invoke-virtual {v0}, Lrexsee/location/RexseeMapAbc$MapDialog;->dismiss()V

    .line 344
    const/4 v0, 0x0

    iput-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0

    goto :goto_0

    .line 345
    :catch_0
    move-exception v0

    goto :goto_0

    .line 339
    :catch_1
    move-exception v0

    goto :goto_3

    .line 331
    :catch_2
    move-exception v0

    goto :goto_2

    .line 325
    :catch_3
    move-exception v0

    goto :goto_1
.end method

.method public enableCustomizedPoiClickEvent(Z)V
    .locals 0
    .param p1, "enable"    # Z

    .prologue
    .line 732
    iput-boolean p1, p0, Lrexsee/location/RexseeMapAbc;->mEnableCustomizedPoiClickEvent:Z

    .line 733
    return-void
.end method

.method public enablePoiClickEvent(Z)V
    .locals 0
    .param p1, "enable"    # Z

    .prologue
    .line 658
    iput-boolean p1, p0, Lrexsee/location/RexseeMapAbc;->mEnablePoiClickEvent:Z

    .line 659
    return-void
.end method

.method public getAddressFromLocation(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
    .locals 8
    .param p1, "longitude"    # Ljava/lang/String;
    .param p2, "latitude"    # Ljava/lang/String;
    .param p3, "maxResult"    # I

    .prologue
    .line 255
    :try_start_0
    new-instance v0, Lcom/mapabc/mapapi/Geocoder;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    invoke-direct {v0, v1, v2}, Lcom/mapabc/mapapi/Geocoder;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 256
    .local v0, "geocoder":Lcom/mapabc/mapapi/Geocoder;
    const-wide v1, 0x4043fa3f3e0370ceL    # 39.955055

    invoke-static {p2, v1, v2}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v1

    const-wide v3, 0x405d1c4302b40f67L    # 116.44159

    invoke-static {p1, v3, v4}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v3

    move v5, p3

    invoke-virtual/range {v0 .. v5}, Lcom/mapabc/mapapi/Geocoder;->getFromLocation(DDI)Ljava/util/List;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v6

    .line 257
    .local v6, "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    if-nez v6, :cond_0

    const-string v1, "[]"

    .line 261
    .end local v0    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    .end local v6    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    :goto_0
    return-object v1

    .line 258
    .restart local v0    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    .restart local v6    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    :cond_0
    :try_start_1
    invoke-static {v6}, Lrexsee/location/RexseeGps;->addresses2Json(Ljava/util/List;)Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v1

    goto :goto_0

    .line 259
    .end local v0    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    .end local v6    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    :catch_0
    move-exception v1

    move-object v7, v1

    .line 260
    .local v7, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v7}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    .line 261
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public getAddressFromLocationName(Ljava/lang/String;I)Ljava/lang/String;
    .locals 5
    .param p1, "locationName"    # Ljava/lang/String;
    .param p2, "maxResult"    # I

    .prologue
    .line 277
    :try_start_0
    new-instance v2, Lcom/mapabc/mapapi/Geocoder;

    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;

    iget-object v4, p0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    invoke-direct {v2, v3, v4}, Lcom/mapabc/mapapi/Geocoder;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 278
    .local v2, "geocoder":Lcom/mapabc/mapapi/Geocoder;
    invoke-virtual {v2, p1, p2}, Lcom/mapabc/mapapi/Geocoder;->getFromLocationName(Ljava/lang/String;I)Ljava/util/List;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    .line 279
    .local v0, "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    if-nez v0, :cond_0

    const-string v3, "[]"

    .line 283
    .end local v0    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    .end local v2    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    :goto_0
    return-object v3

    .line 280
    .restart local v0    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    .restart local v2    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    :cond_0
    :try_start_1
    invoke-static {v0}, Lrexsee/location/RexseeGps;->addresses2Json(Ljava/util/List;)Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v3

    goto :goto_0

    .line 281
    .end local v0    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    .end local v2    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    :catch_0
    move-exception v3

    move-object v1, v3

    .line 282
    .local v1, "e":Ljava/lang/Exception;
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4, v1}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    .line 283
    const/4 v3, 0x0

    goto :goto_0
.end method

.method public getAddressFromLocationName(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    .locals 16
    .param p1, "locationName"    # Ljava/lang/String;
    .param p2, "maxResult"    # I
    .param p3, "lowerLeftLongitude"    # Ljava/lang/String;
    .param p4, "lowerLeftLatitude"    # Ljava/lang/String;
    .param p5, "upperRightLongitude"    # Ljava/lang/String;
    .param p6, "upperRightLatitude"    # Ljava/lang/String;

    .prologue
    .line 288
    :try_start_0
    new-instance v3, Lcom/mapabc/mapapi/Geocoder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;

    move-object v4, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    move-object v5, v0

    invoke-direct {v3, v4, v5}, Lcom/mapabc/mapapi/Geocoder;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 289
    .local v3, "geocoder":Lcom/mapabc/mapapi/Geocoder;
    const-wide v4, 0x4043fa3f3e0370ceL    # 39.955055

    move-object/from16 v0, p4

    move-wide v1, v4

    invoke-static {v0, v1, v2}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v6

    const-wide v4, 0x405d1c4302b40f67L    # 116.44159

    move-object/from16 v0, p3

    move-wide v1, v4

    invoke-static {v0, v1, v2}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v8

    const-wide v4, 0x4043fa3f3e0370ceL    # 39.955055

    move-object/from16 v0, p6

    move-wide v1, v4

    invoke-static {v0, v1, v2}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v10

    const-wide v4, 0x405d1c4302b40f67L    # 116.44159

    move-object/from16 v0, p5

    move-wide v1, v4

    invoke-static {v0, v1, v2}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v12

    move-object/from16 v4, p1

    move/from16 v5, p2

    invoke-virtual/range {v3 .. v13}, Lcom/mapabc/mapapi/Geocoder;->getFromLocationName(Ljava/lang/String;IDDDD)Ljava/util/List;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v14

    .line 290
    .local v14, "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    if-nez v14, :cond_0

    const-string v4, "[]"

    .line 294
    .end local v3    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    .end local v14    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    :goto_0
    return-object v4

    .line 291
    .restart local v3    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    .restart local v14    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    :cond_0
    :try_start_1
    invoke-static {v14}, Lrexsee/location/RexseeGps;->addresses2Json(Ljava/util/List;)Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v4

    goto :goto_0

    .line 292
    .end local v3    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    .end local v14    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    :catch_0
    move-exception v4

    move-object v15, v4

    .line 293
    .local v15, "e":Ljava/lang/Exception;
    move-object/from16 v0, p0

    iget-object v0, v0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    move-object v4, v0

    invoke-virtual/range {p0 .. p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5, v15}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    .line 294
    const/4 v4, 0x0

    goto :goto_0
.end method

.method public getAddressFromRawGpsLocation(Ljava/lang/String;Ljava/lang/String;I)Ljava/lang/String;
    .locals 8
    .param p1, "longitude"    # Ljava/lang/String;
    .param p2, "latitude"    # Ljava/lang/String;
    .param p3, "maxResult"    # I

    .prologue
    .line 266
    :try_start_0
    new-instance v0, Lcom/mapabc/mapapi/Geocoder;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    invoke-direct {v0, v1, v2}, Lcom/mapabc/mapapi/Geocoder;-><init>(Landroid/content/Context;Ljava/lang/String;)V

    .line 267
    .local v0, "geocoder":Lcom/mapabc/mapapi/Geocoder;
    const-wide v1, 0x4043fa3f3e0370ceL    # 39.955055

    invoke-static {p2, v1, v2}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v1

    const-wide v3, 0x405d1c4302b40f67L    # 116.44159

    invoke-static {p1, v3, v4}, Lrexsee/core/utilities/Utilities;->getDouble(Ljava/lang/String;D)D

    move-result-wide v3

    move v5, p3

    invoke-virtual/range {v0 .. v5}, Lcom/mapabc/mapapi/Geocoder;->getFromRawGpsLocation(DDI)Ljava/util/List;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v6

    .line 268
    .local v6, "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    if-nez v6, :cond_0

    const-string v1, "[]"

    .line 272
    .end local v0    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    .end local v6    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    :goto_0
    return-object v1

    .line 269
    .restart local v0    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    .restart local v6    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    :cond_0
    :try_start_1
    invoke-static {v6}, Lrexsee/location/RexseeGps;->addresses2Json(Ljava/util/List;)Ljava/lang/String;
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v1

    goto :goto_0

    .line 270
    .end local v0    # "geocoder":Lcom/mapabc/mapapi/Geocoder;
    .end local v6    # "addresses":Ljava/util/List;, "Ljava/util/List<Landroid/location/Address;>;"
    :catch_0
    move-exception v1

    move-object v7, v1

    .line 271
    .local v7, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v7}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    .line 272
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public getApiKey()Ljava/lang/String;
    .locals 1

    .prologue
    .line 247
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    return-object v0
.end method

.method public getCenter()Ljava/lang/String;
    .locals 7

    .prologue
    const v5, 0x49742400    # 1000000.0f

    const-string v6, "{}"

    .line 368
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v3, :cond_0

    .line 369
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v4

    const-string v5, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v3, v4, v5}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    .line 370
    const-string v3, "{}"

    move-object v3, v6

    .line 380
    :goto_0
    return-object v3

    .line 373
    :cond_0
    :try_start_0
    const-string v2, ""

    .line 374
    .local v2, "rtn":Ljava/lang/String;
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v3, v3, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v3}, Lcom/mapabc/mapapi/MapView;->getMapCenter()Lcom/mapabc/mapapi/GeoPoint;

    move-result-object v0

    .line 375
    .local v0, "center":Lcom/mapabc/mapapi/GeoPoint;
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "\"latitude\":"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0}, Lcom/mapabc/mapapi/GeoPoint;->getLatitudeE6()I

    move-result v4

    int-to-float v4, v4

    div-float/2addr v4, v5

    invoke-static {v4}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 376
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, ",\"longitude\":"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v0}, Lcom/mapabc/mapapi/GeoPoint;->getLongitudeE6()I

    move-result v4

    int-to-float v4, v4

    div-float/2addr v4, v5

    invoke-static {v4}, Ljava/lang/String;->valueOf(F)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    .line 377
    new-instance v3, Ljava/lang/StringBuilder;

    const-string v4, "{"

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string v4, "}"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v3

    goto :goto_0

    .line 378
    .end local v0    # "center":Lcom/mapabc/mapapi/GeoPoint;
    .end local v2    # "rtn":Ljava/lang/String;
    :catch_0
    move-exception v3

    move-object v1, v3

    .line 379
    .local v1, "e":Ljava/lang/Exception;
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4, v1}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    .line 380
    const-string v3, "{}"

    move-object v3, v6

    goto :goto_0
.end method

.method public getCurrentZoom()I
    .locals 5

    .prologue
    const/4 v4, -0x1

    .line 487
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 488
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 495
    :goto_0
    return v1

    .line 492
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1}, Lcom/mapabc/mapapi/MapView;->getZoomLevel()I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    goto :goto_0

    .line 493
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 494
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 495
    goto :goto_0
.end method

.method public getCustomizedPoi(I)Ljava/lang/String;
    .locals 3
    .param p1, "index"    # I

    .prologue
    .line 682
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v1, 0x1

    sub-int/2addr v0, v1

    if-le p1, v0, :cond_0

    .line 683
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "Index exceed the range of customized Poi."

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    .line 684
    const-string v0, "{}"

    .line 686
    .end local p0    # "this":Lrexsee/location/RexseeMapAbc;
    :goto_0
    return-object v0

    .restart local p0    # "this":Lrexsee/location/RexseeMapAbc;
    :cond_0
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p0

    .end local p0    # "this":Lrexsee/location/RexseeMapAbc;
    check-cast p0, Lcom/mapabc/mapapi/PoiItem;

    invoke-static {p0}, Lrexsee/location/RexseeMapAbc;->_poiItem2Json(Lcom/mapabc/mapapi/PoiItem;)Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public getInheritInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 0
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 51
    return-object p0
.end method

.method public getInterfaceName()Ljava/lang/String;
    .locals 2

    .prologue
    .line 47
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return-object v0

    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v1, v1, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v1, v1, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v1, v1, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "MapAbc"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0
.end method

.method public getNewInterface(Lrexsee/core/browser/Browser;)Lrexsee/core/browser/clazz/JavascriptInterface;
    .locals 1
    .param p1, "childBrowser"    # Lrexsee/core/browser/Browser;

    .prologue
    .line 55
    new-instance v0, Lrexsee/location/RexseeMapAbc;

    invoke-direct {v0, p1}, Lrexsee/location/RexseeMapAbc;-><init>(Lrexsee/core/browser/Browser;)V

    return-object v0
.end method

.method public getNumberOfCustomizedPoi()I
    .locals 1

    .prologue
    .line 689
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getNumberOfRequestedRoute()I
    .locals 1

    .prologue
    .line 523
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mRequestedRoute:Ljava/util/HashMap;

    invoke-virtual {v0}, Ljava/util/HashMap;->size()I

    move-result v0

    return v0
.end method

.method public getNumberOfRoute(Ljava/lang/String;)I
    .locals 2
    .param p1, "id"    # Ljava/lang/String;

    .prologue
    .line 535
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mRequestedRoute:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    .line 536
    .local v0, "routes":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/Route;>;"
    if-nez v0, :cond_0

    const/4 v1, 0x0

    .line 537
    :goto_0
    return v1

    :cond_0
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    goto :goto_0
.end method

.method public getRequestedPoiPage(I)Ljava/lang/String;
    .locals 5
    .param p1, "pageIndex"    # I

    .prologue
    const-string v4, "[]"

    .line 614
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mRequestedPoi:Lcom/mapabc/mapapi/PoiPagedResult;

    if-nez v2, :cond_0

    const-string v2, "[]"

    move-object v2, v4

    .line 620
    :goto_0
    return-object v2

    .line 616
    :cond_0
    :try_start_0
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mRequestedPoi:Lcom/mapabc/mapapi/PoiPagedResult;

    invoke-virtual {v2, p1}, Lcom/mapabc/mapapi/PoiPagedResult;->getPage(I)Ljava/util/List;

    move-result-object v1

    .line 617
    .local v1, "items":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/PoiItem;>;"
    invoke-static {v1}, Lrexsee/location/RexseeMapAbc;->_poiItems2Json(Ljava/util/List;)Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v2

    goto :goto_0

    .line 618
    .end local v1    # "items":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/PoiItem;>;"
    :catch_0
    move-exception v2

    move-object v0, v2

    .line 619
    .local v0, "e":Ljava/lang/Exception;
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    .line 620
    const-string v2, "[]"

    move-object v2, v4

    goto :goto_0
.end method

.method public getRequestedPoiPageCount()I
    .locals 1

    .prologue
    .line 611
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mRequestedPoi:Lcom/mapabc/mapapi/PoiPagedResult;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mRequestedPoi:Lcom/mapabc/mapapi/PoiPagedResult;

    invoke-virtual {v0}, Lcom/mapabc/mapapi/PoiPagedResult;->getPageCount()I

    move-result v0

    goto :goto_0
.end method

.method public getRequestedRoute(Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .param p1, "id"    # Ljava/lang/String;

    .prologue
    .line 530
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mRequestedRoute:Ljava/util/HashMap;

    invoke-virtual {v1, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    .line 531
    .local v0, "routes":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/Route;>;"
    if-nez v0, :cond_0

    const-string v1, ""

    .line 532
    :goto_0
    return-object v1

    :cond_0
    invoke-static {v0}, Lrexsee/location/RexseeMapAbc;->_routes2Json(Ljava/util/List;)Ljava/lang/String;

    move-result-object v1

    goto :goto_0
.end method

.method public getRequestedRouteIds()Ljava/lang/String;
    .locals 2

    .prologue
    .line 526
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mRequestedRoute:Ljava/util/HashMap;

    invoke-virtual {v1}, Ljava/util/HashMap;->keySet()Ljava/util/Set;

    move-result-object v0

    .line 527
    .local v0, "set":Ljava/util/Set;, "Ljava/util/Set<Ljava/lang/String;>;"
    invoke-static {v0}, Lrexsee/core/utilities/Json;->toJson(Ljava/util/Set;)Ljava/lang/String;

    move-result-object v1

    return-object v1
.end method

.method public getRoute(Ljava/lang/String;I)Ljava/lang/String;
    .locals 4
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "index"    # I

    .prologue
    const-string v3, "{}"

    .line 540
    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mRequestedRoute:Ljava/util/HashMap;

    invoke-virtual {v2, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/util/List;

    .line 541
    .local v1, "routes":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/Route;>;"
    if-nez v1, :cond_0

    const-string v2, "{}"

    move-object v2, v3

    .line 544
    :goto_0
    return-object v2

    .line 542
    :cond_0
    invoke-interface {v1, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/mapabc/mapapi/Route;

    .line 543
    .local v0, "route":Lcom/mapabc/mapapi/Route;
    if-nez v0, :cond_1

    const-string v2, "{}"

    move-object v2, v3

    goto :goto_0

    .line 544
    :cond_1
    invoke-static {v0}, Lrexsee/location/RexseeMapAbc;->_route2Json(Lcom/mapabc/mapapi/Route;)Ljava/lang/String;

    move-result-object v2

    goto :goto_0
.end method

.method public hideCurrentLocation()Z
    .locals 3

    .prologue
    const/4 v2, 0x1

    .line 750
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    move v1, v2

    .line 760
    :goto_0
    return v1

    .line 751
    :cond_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    if-eqz v1, :cond_1

    .line 753
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    invoke-virtual {v1}, Lcom/mapabc/mapapi/MyLocationOverlay;->disableCompass()V

    .line 754
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    invoke-virtual {v1}, Lcom/mapabc/mapapi/MyLocationOverlay;->disableMyLocation()V

    .line 755
    const/4 v1, 0x0

    iput-object v1, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_1
    move v1, v2

    .line 760
    goto :goto_0

    .line 756
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 757
    .local v0, "e":Ljava/lang/Exception;
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public hideCustomizedPoi()Z
    .locals 5

    .prologue
    const/4 v4, 0x0

    .line 719
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 720
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 728
    :goto_0
    return v1

    .line 724
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v2, v2, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1, v2}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;->removeFromMap(Lcom/mapabc/mapapi/MapView;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 725
    const/4 v1, 0x1

    goto :goto_0

    .line 726
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 727
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 728
    goto :goto_0
.end method

.method public hidePoi()Z
    .locals 5

    .prologue
    const/4 v4, 0x0

    .line 645
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 646
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 654
    :goto_0
    return v1

    .line 650
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v2, v2, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1, v2}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;->removeFromMap(Lcom/mapabc/mapapi/MapView;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 651
    const/4 v1, 0x1

    goto :goto_0

    .line 652
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 653
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 654
    goto :goto_0
.end method

.method public hideRoute()Z
    .locals 5

    .prologue
    const/4 v4, 0x0

    .line 566
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 567
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 575
    :goto_0
    return v1

    .line 571
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mRouteOverlay:Lcom/mapabc/mapapi/RouteOverlay;

    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v2, v2, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1, v2}, Lcom/mapabc/mapapi/RouteOverlay;->removeFromMap(Lcom/mapabc/mapapi/MapView;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 572
    const/4 v1, 0x1

    goto :goto_0

    .line 573
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 574
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 575
    goto :goto_0
.end method

.method public isSatellite()Z
    .locals 5

    .prologue
    const/4 v4, 0x0

    .line 423
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 424
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 431
    :goto_0
    return v1

    .line 428
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1}, Lcom/mapabc/mapapi/MapView;->isSatellite()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    goto :goto_0

    .line 429
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 430
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 431
    goto :goto_0
.end method

.method public isStarted()Z
    .locals 1

    .prologue
    .line 350
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v0, :cond_0

    const/4 v0, 0x0

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public isStreetView()Z
    .locals 5

    .prologue
    const/4 v4, 0x0

    .line 448
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 449
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 456
    :goto_0
    return v1

    .line 453
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1}, Lcom/mapabc/mapapi/MapView;->isStreetView()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    goto :goto_0

    .line 454
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 455
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 456
    goto :goto_0
.end method

.method public isTraffic()Z
    .locals 5

    .prologue
    const/4 v4, 0x0

    .line 398
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 399
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 406
    :goto_0
    return v1

    .line 403
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1}, Lcom/mapabc/mapapi/MapView;->isTraffic()Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move-result v1

    goto :goto_0

    .line 404
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 405
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 406
    goto :goto_0
.end method

.method public requestPoi(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 5
    .param p1, "queryString"    # Ljava/lang/String;
    .param p2, "categories"    # Ljava/lang/String;

    .prologue
    const/4 v4, 0x0

    .line 580
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 581
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 589
    :goto_0
    return v1

    .line 585
    :cond_0
    :try_start_0
    new-instance v1, Lcom/mapabc/mapapi/PoiSearch$Query;

    invoke-direct {v1, p1, p2}, Lcom/mapabc/mapapi/PoiSearch$Query;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v2, Lcom/mapabc/mapapi/PoiSearch$SearchBound;

    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v3, v3, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-direct {v2, v3}, Lcom/mapabc/mapapi/PoiSearch$SearchBound;-><init>(Lcom/mapabc/mapapi/MapView;)V

    invoke-direct {p0, v1, v2}, Lrexsee/location/RexseeMapAbc;->_getPoi(Lcom/mapabc/mapapi/PoiSearch$Query;Lcom/mapabc/mapapi/PoiSearch$SearchBound;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 586
    const/4 v1, 0x1

    goto :goto_0

    .line 587
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 588
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 589
    goto :goto_0
.end method

.method public requestPoi(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
    .locals 3
    .param p1, "queryString"    # Ljava/lang/String;
    .param p2, "categories"    # Ljava/lang/String;
    .param p3, "city"    # Ljava/lang/String;

    .prologue
    .line 594
    :try_start_0
    new-instance v1, Lcom/mapabc/mapapi/PoiSearch$Query;

    invoke-direct {v1, p1, p2, p3}, Lcom/mapabc/mapapi/PoiSearch$Query;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    const/4 v2, 0x0

    invoke-direct {p0, v1, v2}, Lrexsee/location/RexseeMapAbc;->_getPoi(Lcom/mapabc/mapapi/PoiSearch$Query;Lcom/mapabc/mapapi/PoiSearch$SearchBound;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 595
    const/4 v1, 0x1

    .line 598
    :goto_0
    return v1

    .line 596
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 597
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    .line 598
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public requestPoi(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Z
    .locals 6
    .param p1, "queryString"    # Ljava/lang/String;
    .param p2, "categories"    # Ljava/lang/String;
    .param p3, "centerLongitude"    # Ljava/lang/String;
    .param p4, "centerLatitude"    # Ljava/lang/String;
    .param p5, "radiusInMeters"    # I

    .prologue
    .line 603
    :try_start_0
    new-instance v1, Lcom/mapabc/mapapi/PoiSearch$Query;

    invoke-direct {v1, p1, p2}, Lcom/mapabc/mapapi/PoiSearch$Query;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v2, Lcom/mapabc/mapapi/PoiSearch$SearchBound;

    new-instance v3, Lcom/mapabc/mapapi/GeoPoint;

    invoke-direct {p0, p4}, Lrexsee/location/RexseeMapAbc;->_strToLatitude(Ljava/lang/String;)I

    move-result v4

    invoke-direct {p0, p3}, Lrexsee/location/RexseeMapAbc;->_strToLongitude(Ljava/lang/String;)I

    move-result v5

    invoke-direct {v3, v4, v5}, Lcom/mapabc/mapapi/GeoPoint;-><init>(II)V

    invoke-direct {v2, v3, p5}, Lcom/mapabc/mapapi/PoiSearch$SearchBound;-><init>(Lcom/mapabc/mapapi/GeoPoint;I)V

    invoke-direct {p0, v1, v2}, Lrexsee/location/RexseeMapAbc;->_getPoi(Lcom/mapabc/mapapi/PoiSearch$Query;Lcom/mapabc/mapapi/PoiSearch$SearchBound;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 604
    const/4 v1, 0x1

    .line 607
    :goto_0
    return v1

    .line 605
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 606
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    .line 607
    const/4 v1, 0x0

    goto :goto_0
.end method

.method public requestRoute(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
    .locals 8
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "fromLongitude"    # Ljava/lang/String;
    .param p3, "fromLatitude"    # Ljava/lang/String;
    .param p4, "toLongitude"    # Ljava/lang/String;
    .param p5, "toLatitude"    # Ljava/lang/String;
    .param p6, "mode"    # Ljava/lang/String;

    .prologue
    .line 500
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v0, :cond_0

    .line 501
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    .line 502
    const/4 v0, 0x0

    .line 520
    :goto_0
    return v0

    .line 504
    :cond_0
    new-instance v0, Lrexsee/location/RexseeMapAbc$3;

    move-object v1, p0

    move-object v2, p3

    move-object v3, p2

    move-object v4, p5

    move-object v5, p4

    move-object v6, p6

    move-object v7, p1

    invoke-direct/range {v0 .. v7}, Lrexsee/location/RexseeMapAbc$3;-><init>(Lrexsee/location/RexseeMapAbc;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    .line 519
    invoke-virtual {v0}, Lrexsee/location/RexseeMapAbc$3;->start()V

    .line 520
    const/4 v0, 0x1

    goto :goto_0
.end method

.method public setApiKey(Ljava/lang/String;)V
    .locals 0
    .param p1, "key"    # Ljava/lang/String;

    .prologue
    .line 250
    iput-object p1, p0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    .line 251
    return-void
.end method

.method public setBuiltInZoomControls(Z)Z
    .locals 5
    .param p1, "enable"    # Z

    .prologue
    const/4 v4, 0x0

    .line 461
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 462
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 470
    :goto_0
    return v1

    .line 466
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1, p1}, Lcom/mapabc/mapapi/MapView;->setBuiltInZoomControls(Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 467
    const/4 v1, 0x1

    goto :goto_0

    .line 468
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 469
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 470
    goto :goto_0
.end method

.method public setCenter(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 6
    .param p1, "longitude"    # Ljava/lang/String;
    .param p2, "latitude"    # Ljava/lang/String;

    .prologue
    const/4 v5, 0x0

    .line 354
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 355
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v5

    .line 364
    :goto_0
    return v1

    .line 359
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapController:Lcom/mapabc/mapapi/MapController;

    new-instance v2, Lcom/mapabc/mapapi/GeoPoint;

    invoke-direct {p0, p2}, Lrexsee/location/RexseeMapAbc;->_strToLatitude(Ljava/lang/String;)I

    move-result v3

    invoke-direct {p0, p1}, Lrexsee/location/RexseeMapAbc;->_strToLongitude(Ljava/lang/String;)I

    move-result v4

    invoke-direct {v2, v3, v4}, Lcom/mapabc/mapapi/GeoPoint;-><init>(II)V

    invoke-virtual {v1, v2}, Lcom/mapabc/mapapi/MapController;->setCenter(Lcom/mapabc/mapapi/GeoPoint;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 361
    const/4 v1, 0x1

    goto :goto_0

    .line 362
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 363
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v5

    .line 364
    goto :goto_0
.end method

.method public setSatellite(Z)Z
    .locals 5
    .param p1, "enable"    # Z

    .prologue
    const/4 v4, 0x0

    .line 410
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 411
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 419
    :goto_0
    return v1

    .line 415
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1, p1}, Lcom/mapabc/mapapi/MapView;->setSatellite(Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 416
    const/4 v1, 0x1

    goto :goto_0

    .line 417
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 418
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 419
    goto :goto_0
.end method

.method public setStreetView(Z)Z
    .locals 5
    .param p1, "enable"    # Z

    .prologue
    const/4 v4, 0x0

    .line 435
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 436
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 444
    :goto_0
    return v1

    .line 440
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1, p1}, Lcom/mapabc/mapapi/MapView;->setStreetView(Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 441
    const/4 v1, 0x1

    goto :goto_0

    .line 442
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 443
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 444
    goto :goto_0
.end method

.method public setTraffic(Z)Z
    .locals 5
    .param p1, "enable"    # Z

    .prologue
    const/4 v4, 0x0

    .line 384
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 385
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 394
    :goto_0
    return v1

    .line 389
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1, p1}, Lcom/mapabc/mapapi/MapView;->setTraffic(Z)V

    .line 390
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v1}, Lcom/mapabc/mapapi/MapView;->postInvalidate()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 391
    const/4 v1, 0x1

    goto :goto_0

    .line 392
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 393
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 394
    goto :goto_0
.end method

.method public showCurrentLocation()Z
    .locals 3

    .prologue
    .line 736
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v0, :cond_0

    .line 737
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    .line 738
    const/4 v0, 0x0

    .line 747
    :goto_0
    return v0

    .line 741
    :cond_0
    :try_start_0
    new-instance v0, Lrexsee/location/RexseeMapAbc$MyLocation;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v2, v2, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-direct {v0, v1, v2}, Lrexsee/location/RexseeMapAbc$MyLocation;-><init>(Lrexsee/core/browser/Browser;Lcom/mapabc/mapapi/MapView;)V

    iput-object v0, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    .line 742
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    invoke-virtual {v0}, Lcom/mapabc/mapapi/MyLocationOverlay;->enableMyLocation()Z

    .line 743
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    invoke-virtual {v0}, Lcom/mapabc/mapapi/MyLocationOverlay;->enableCompass()Z

    .line 744
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v0, v0, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v0}, Lcom/mapabc/mapapi/MapView;->getOverlays()Ljava/util/List;

    move-result-object v0

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mLocation:Lcom/mapabc/mapapi/MyLocationOverlay;

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 747
    :goto_1
    const/4 v0, 0x1

    goto :goto_0

    .line 745
    :catch_0
    move-exception v0

    goto :goto_1
.end method

.method public showCustomizedPoi()Z
    .locals 9

    .prologue
    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 695
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v0, :cond_0

    .line 696
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v0, v7

    .line 715
    :goto_0
    return v0

    .line 699
    :cond_0
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 700
    :cond_1
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "No valid customized Poi. Please call addCustomizedPoi() to add customized Poi."

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v0, v7

    .line 701
    goto :goto_0

    .line 704
    :cond_2
    :try_start_0
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v0, v1}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;->removeFromMap(Lcom/mapabc/mapapi/MapView;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 708
    :goto_1
    :try_start_1
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    if-nez v0, :cond_3

    move v0, v7

    goto :goto_0

    .line 709
    :cond_3
    new-instance v0, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    const/4 v2, 0x0

    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoi:Ljava/util/ArrayList;

    iget-boolean v4, p0, Lrexsee/location/RexseeMapAbc;->mEnableCustomizedPoiClickEvent:Z

    const/4 v5, 0x0

    invoke-direct/range {v0 .. v5}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;-><init>(Lrexsee/core/browser/Browser;Landroid/graphics/drawable/Drawable;Ljava/util/List;ZZ)V

    iput-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    .line 710
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;->enablePopup(Z)V

    .line 711
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mCustomizedPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v0, v1}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;->addToMap(Lcom/mapabc/mapapi/MapView;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move v0, v8

    .line 712
    goto :goto_0

    .line 713
    :catch_0
    move-exception v0

    move-object v6, v0

    .line 714
    .local v6, "e":Ljava/lang/Exception;
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v6}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v0, v7

    .line 715
    goto :goto_0

    .line 705
    .end local v6    # "e":Ljava/lang/Exception;
    :catch_1
    move-exception v0

    goto :goto_1
.end method

.method public showPoi(I)Z
    .locals 9
    .param p1, "pageIndex"    # I

    .prologue
    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 624
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v0, :cond_0

    .line 625
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v0, v7

    .line 641
    :goto_0
    return v0

    .line 629
    :cond_0
    :try_start_0
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v0, v1}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;->removeFromMap(Lcom/mapabc/mapapi/MapView;)Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    .line 633
    :goto_1
    :try_start_1
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mRequestedPoi:Lcom/mapabc/mapapi/PoiPagedResult;

    invoke-virtual {v0, p1}, Lcom/mapabc/mapapi/PoiPagedResult;->getPage(I)Ljava/util/List;

    move-result-object v3

    .line 634
    .local v3, "items":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/PoiItem;>;"
    if-nez v3, :cond_1

    move v0, v7

    goto :goto_0

    .line 635
    :cond_1
    new-instance v0, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    const/4 v2, 0x0

    iget-boolean v4, p0, Lrexsee/location/RexseeMapAbc;->mEnablePoiClickEvent:Z

    const/4 v5, 0x1

    invoke-direct/range {v0 .. v5}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;-><init>(Lrexsee/core/browser/Browser;Landroid/graphics/drawable/Drawable;Ljava/util/List;ZZ)V

    iput-object v0, p0, Lrexsee/location/RexseeMapAbc;->mPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    .line 636
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;->enablePopup(Z)V

    .line 637
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mPoiOverlay:Lrexsee/location/RexseeMapAbc$MyPoiOverlay;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v0, v1}, Lrexsee/location/RexseeMapAbc$MyPoiOverlay;->addToMap(Lcom/mapabc/mapapi/MapView;)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    move v0, v8

    .line 638
    goto :goto_0

    .line 639
    .end local v3    # "items":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/PoiItem;>;"
    :catch_0
    move-exception v0

    move-object v6, v0

    .line 640
    .local v6, "e":Ljava/lang/Exception;
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1, v6}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v0, v7

    .line 641
    goto :goto_0

    .line 630
    .end local v6    # "e":Ljava/lang/Exception;
    :catch_1
    move-exception v0

    goto :goto_1
.end method

.method public showRoute(Ljava/lang/String;I)Z
    .locals 7
    .param p1, "id"    # Ljava/lang/String;
    .param p2, "index"    # I

    .prologue
    const/4 v5, 0x1

    const/4 v6, 0x0

    .line 547
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v3, :cond_0

    .line 548
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v4

    const-string v5, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v3, v4, v5}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v3, v6

    .line 562
    :goto_0
    return v3

    .line 552
    :cond_0
    :try_start_0
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mRequestedRoute:Ljava/util/HashMap;

    invoke-virtual {v3, p1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/util/List;

    .line 553
    .local v2, "routes":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/Route;>;"
    if-nez v2, :cond_1

    move v3, v6

    goto :goto_0

    .line 554
    :cond_1
    invoke-interface {v2, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/mapabc/mapapi/Route;

    .line 555
    .local v1, "route":Lcom/mapabc/mapapi/Route;
    if-nez v1, :cond_2

    move v3, v6

    goto :goto_0

    .line 556
    :cond_2
    new-instance v4, Lcom/mapabc/mapapi/RouteOverlay;

    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mContext:Landroid/content/Context;

    check-cast v3, Lcom/mapabc/mapapi/MapActivity;

    invoke-direct {v4, v3, v1}, Lcom/mapabc/mapapi/RouteOverlay;-><init>(Lcom/mapabc/mapapi/MapActivity;Lcom/mapabc/mapapi/Route;)V

    iput-object v4, p0, Lrexsee/location/RexseeMapAbc;->mRouteOverlay:Lcom/mapabc/mapapi/RouteOverlay;

    .line 557
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mRouteOverlay:Lcom/mapabc/mapapi/RouteOverlay;

    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Lcom/mapabc/mapapi/RouteOverlay;->enablePopup(Z)V

    .line 558
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mRouteOverlay:Lcom/mapabc/mapapi/RouteOverlay;

    iget-object v4, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v4, v4, Lrexsee/location/RexseeMapAbc$MapDialog;->mapView:Lcom/mapabc/mapapi/MapView;

    invoke-virtual {v3, v4}, Lcom/mapabc/mapapi/RouteOverlay;->addToMap(Lcom/mapabc/mapapi/MapView;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    move v3, v5

    .line 559
    goto :goto_0

    .line 560
    .end local v1    # "route":Lcom/mapabc/mapapi/Route;
    .end local v2    # "routes":Ljava/util/List;, "Ljava/util/List<Lcom/mapabc/mapapi/Route;>;"
    :catch_0
    move-exception v3

    move-object v0, v3

    .line 561
    .local v0, "e":Ljava/lang/Exception;
    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v3, v6

    .line 562
    goto :goto_0
.end method

.method public start(Ljava/lang/String;)V
    .locals 4
    .param p1, "style"    # Ljava/lang/String;

    .prologue
    .line 299
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-eqz v0, :cond_0

    .line 300
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    invoke-virtual {v0}, Lrexsee/location/RexseeMapAbc$MapDialog;->dismiss()V

    .line 301
    const/4 v0, 0x0

    iput-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    .line 303
    :cond_0
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    if-nez v0, :cond_1

    .line 304
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v1

    const-string v2, "API-Key of MapAbc is not available."

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    .line 316
    :goto_0
    return-void

    .line 307
    :cond_1
    new-instance v0, Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    const-string v2, ""

    iget-object v3, p0, Lrexsee/location/RexseeMapAbc;->mApiKey:Ljava/lang/String;

    invoke-direct {v0, v1, v2, p1, v3}, Lrexsee/location/RexseeMapAbc$MapDialog;-><init>(Lrexsee/core/browser/Browser;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    .line 308
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    new-instance v1, Lrexsee/location/RexseeMapAbc$2;

    invoke-direct {v1, p0}, Lrexsee/location/RexseeMapAbc$2;-><init>(Lrexsee/location/RexseeMapAbc;)V

    invoke-virtual {v0, v1}, Lrexsee/location/RexseeMapAbc$MapDialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 315
    iget-object v0, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    invoke-virtual {v0}, Lrexsee/location/RexseeMapAbc$MapDialog;->start()V

    goto :goto_0
.end method

.method public zoom(I)Z
    .locals 5
    .param p1, "value"    # I

    .prologue
    const/4 v4, 0x0

    .line 474
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    if-nez v1, :cond_0

    .line 475
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    const-string v3, "Map dialog has not been started. Please call start() first."

    invoke-virtual {v1, v2, v3}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    move v1, v4

    .line 483
    :goto_0
    return v1

    .line 479
    :cond_0
    :try_start_0
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mDialog:Lrexsee/location/RexseeMapAbc$MapDialog;

    iget-object v1, v1, Lrexsee/location/RexseeMapAbc$MapDialog;->mapController:Lcom/mapabc/mapapi/MapController;

    invoke-virtual {v1, p1}, Lcom/mapabc/mapapi/MapController;->setZoom(I)I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 480
    const/4 v1, 0x1

    goto :goto_0

    .line 481
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 482
    .local v0, "e":Ljava/lang/Exception;
    iget-object v1, p0, Lrexsee/location/RexseeMapAbc;->mBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {p0}, Lrexsee/location/RexseeMapAbc;->getInterfaceName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/Exception;)V

    move v1, v4

    .line 483
    goto :goto_0
.end method
